package com.tianshi.user.service;

import com.tianshi.entity.UserAddresses;

import java.util.List;

public interface UserAddressService {

    // 根据用户id查询用户地址列表
    List<UserAddresses> searchByUserId(Long userId);
    //根据地址id删除地址信息
    int deleteById(Long addressId);
    //修改地址信息
    int updateAddress(UserAddresses userAddresses);
    //新增地址信息
    int addAddress(UserAddresses userAddresses);
}
